﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.App.Domain.Model
{
    /// <summary>
    /// 图片表
    /// </summary>
    [Table("ImageModel")]
    public class ImageModel:BaseEntity
    {
        /// <summary>
        /// 图片名称
        /// </summary>
        public string ImgName { get; set; }
        /// <summary>
        /// 图片类型(1产品检验报告2.动检证3.养殖企业照片4.相关资质5.屠宰企业照片6.食品安全信息7.原料8.辅料9.添加剂10.包材11.深加工企业图片)
        /// </summary>
        public int ImgType { get; set; }
        /// <summary>
        /// 图片路径
        /// </summary>
        public string ImgUrl { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string ?Batch {  get; set;}
    }
}
